EMAIL_VERIFICATION=False
MAIN=URL(r=request,c='news',f='index')
LOGIN=URL(r=request,c='default',f='login')
LOGOUT=URL(r=request,c='default',f='logout')
ERROR=URL(r=request,c='default',f='index')

HOST='http://'+request.env.http_host
SIPLOGINURL='http://sip.alisoft.com/sip/login'
SIPRESTURL='http://sip.alisoft.com/sip/rest'
MYALISOFTURL='http://mall.alisoft.com/apps/shopwindow/showAppDetailAction!view.jspa?appID=16635'

SECONDS=1.0
PAGE_LOCK_TIME=180*SECONDS
PAGE_LOCK_RENEW_TIME=120*SECONDS

if HOST[:5]=='https': response.cookies[response.session_id_name]['secure']=True

